from flask import Blueprint

# 创建蓝图
main_bp = Blueprint('main', __name__)
classification_bp = Blueprint('classification', __name__, url_prefix='/classification')
detection_bp = Blueprint('detection', __name__, url_prefix='/detection')
animal_bp = Blueprint('animal', __name__, url_prefix='/animal')
plant_bp = Blueprint('plant', __name__, url_prefix='/plant')
logo_bp = Blueprint('logo', __name__, url_prefix='/logo')

# 导入路由模块
from . import main
from . import classification
from . import detection
from . import animal
from . import plant
from . import logo

# 获取所有蓝图
def get_blueprints():
    return [
        main_bp,
        classification_bp,
        detection_bp,
        animal_bp,
        plant_bp,
        logo_bp
    ] 